package com.aat.dizena.test.app;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class StartRestful {
	
	private static ApplicationContext ctx;

	public static void main(String[] args) {
		ctx = new ClassPathXmlApplicationContext("dubboCustomer.xml");
		NettyServer s =ctx.getBean(NettyServer.class);
		s.start();
		System.out.println("------------start-----------");
	}
	
}
